﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _028_第二十八章_访问者模式
{
    class Failed : DiffAction
    {
        public override void GetManConclusion(Man concreteElemA)
        {
            Console.WriteLine("{0} {1}时，闷头喝酒，谁也不用劝。", concreteElemA.GetType().Name, this.GetType().Name);
        }

        public override void GetWomanConclusion(Woman concreteElemB)
        {
            Console.WriteLine("{0} {1}时，眼泪汪汪，谁也劝不了。", concreteElemB.GetType().Name, this.GetType().Name);
        }
    }
}
